Object selection using hit test tracks

ABSTRACT

A method for labeling the pixels within a selected visual area of at least one image frame containing that visual area from a sequence of image frames stored in memory and operative to be displayed on an interactive display so that a user may subsequently select the selected visual area on a pixel accurate, frame accurate basis. To label the selected visual area within an image frame, the scene within that image frame is segmented to identify the selected visual area, each pixel within that selected visual area is then labeled with an area identifier which is unique to that selected visual area, and the pixels containing the area identifiers are mapped into an item buffer. The item buffer is then compressed and stored within a labeled portion of memory linked with the stored frame image from which the item buffer was derived. When a user subsequently selects a pixel within any frame image of the sequence of frame images the pixel is decompressed within the labeled portion of memory corresponding to the pixel in the selected frame image to determine the area identifier for the selected pixel. This area identifier is then used for a number of purposes, such as to identify an area within the frame image corresponding to the selected pixel, or to cause some action related to the selected pixel to be performed.

The present application is a continuation application of prior U.S. patent application Ser. No. 09/207,393, filed Dec. 8, 1998 and now U.S. Pat. No. 6,295,055, which is a continuation application of U.S. patent application Ser. No. 08/328,394, filed Oct. 24, 1994 and now U.S. Pat. No. 6,219,048, which is a continuation application of U.S. patent application Ser. No. 07/790,327 filed Nov. 12, 1991 and entitled Object Selection Using Hit Test Tracks and now abandoned.

FIELD OF THE INVENTION

The present invention relates generally to methods for selecting objects from a moving image sequence of digitized or synthesized images, and more particularly, to a technique for storing auxiliary data in an Item buffer, along with a video track, so as to precisely identify objects which can be selected from within each frame of the video track.

BRIEF DESCRIPTION OF PRIOR ART

Object selection methods allow a user to select an individual object from among a group of object in an image. One approach to object selection centers around determining which line segment on a two-dimensional screen image has been selected by a user. Typically, these line segments are connected to form a polygonal region, but they may also not be connected at all. One method, called “cursor picking”, which is described by J. D. Foley and A. Van Dam, in “Fundamentals of Interactive Computer Graphics”, Addison-Wesley Publishing Company, 1984, pps. 200–204, creates bounded extents, which can be checked using simple equations. Such a scheme, for example, would allow a user to select and modify the characteristics of a particular triangle on a screen, even though there may be many other objects, such as circles, trapezoids, and arbitrary polygonal regions, also visible on the screen. Another method for object selection is to have an object name associated with every object in a scene. To make an object an active selection, the user simply types in the object name that they want to select. This method has no geometric correspondence.

Another technique typically utilized in interactive systems, such as Apple Computer Incorporated's HyperCard™ program, permits the user to identify a rectangular bounding region on the screen with a particular object, such as a button or field. The HyperCard program looks to see where the cursor location is when a selection is made and, at that time, searches for the object (such as a button or field) that has a bounding rectangle at that location. If no bounding rectangle encloses the cursor location, no object is selected. Conversely, if there is a bounding rectangle which encloses the object, the corresponding object is selected. All of the above techniques do not allow for accurate object selection of arbitrarily complex boundaries and can be difficult to use when attempting to identify object boundaries precisely.

Item buffers are generally used to speed up image synthesis algorithms, such as ray tracing or radiosity. They may also be used to identify single object three-dimensional surface areas for usage with interactive painting and lighting systems which manipulate two-dimensional images. When computing radiosity form factors, a hemi-cube algorithm is typically used to speed up the calculation. In this algorithm, five faces of a cube are rendered as item buffers which contain object tags. By counting the number of tagged pixels in the face images, the form factor is computed for a particular polygon when seen from the vertex of another polygon. A description of such a system is presented by Michael F. Cohen and Donald P. Greenberg, in “The Hemi-Cube: A Radiosity Solution for Complex Environments”, Computer Graphics, #19, Vol. 3, July 1985, pp. 31–40.

Ray tracing may be accelerated by scan-converting an “object tag” image into an item buffer. Then, for each pixel, the ray from the camera corresponding to that pixel is assumed to intersect with the object whose tag is in that pixel. By using an item buffer the algorithm avoids performing any primary ray-object intersection tests. In this way, ray tracing is made more computationally efficient. A description of such a system is presented by Hank Weghorst, Gary Hooper, and Donald P. Greenberg, “Improved Computational Methods for Ray Tracing”, ACM Transactions on Graphics, Vol. 3, No. 1, January 1984, pp. 52–69.

In “Direct WYSIWYG Painting and Texturing on 3D Shapes,” by Pat Hanrahan and Paul Haeberli, Computer Graphics, Vol. 24, No. 4, August. 1990. pp. 215–223, a single three-dimensional object is rendered into an “id buffer” which stores the surface u-v values for the visible surface in that pixel. When painting onto the image, the surface position and surface normal vectors are determined by examining the object id buffer and then the result is used to shade the pixel as the texture maps are modified. This method allows a user to paint on an image in two dimensions and allows modification of the object geometry or lighting in three-dimensional space. The resultant modification is computed in three-dimensional space and then calculated as two-dimensional screen pixels, which are selectively written into the visible screen buffer.

BRIEF SUMMARY OF THE INVENTION

A preferred embodiment of the present invention comprises a method for labeling the pixel within a selected visual area of at least one image frame containing that visual area from a sequence of image frames stored in memory and operative to be displayed on an interactive display so that a user may subsequently select the selected visual area on a pixel accurate, frame accurate basis. To label the selected visual area within an image frame, the scene within that image frame is segmented to identify the selected visual area, each pixel within that selected visual area is then labeled with an area identifier which is unique to that selected visual area, and the pixels containing the area identifiers are mapped into an item buffer. The item buffer is then compressed and stored within a labeled portion of memory linked with the stored frame image from which the item buffer was derived. When a user subsequently selects a pixel within any frame image of the sequence of frame images the pixel is decompressed within the labeled portion of memory corresponding to the pixel in the selected frame image to determine the area identifier for the selected pixel. This area identifier is then used for a number of purposes, such as to identify an area within the frame image corresponding to the selected pixel, or to cause some action related to the selected pixel to be performed.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating a computer for use in conjunction with the preferred embodiment of the present invention:

FIG. 2 a illustrates a single frame of a video track;

FIG. 2 b illustrates a single frame of a hit test track corresponding to the video track of FIG. 2 a;

FIG. 3 a illustrates a set of video tracks and sound tracks;

FIG. 3 b illustrates the same multi-track data as FIG. 3 b, but includes a hit test track;

FIG. 4 a illustrates the required contents of the user data section of a hit test track in accordance with the preferred embodiment of the present invention;

FIG. 4 b illustrates the optional contents of the user data section of the hit test track of FIG. 4 a;

FIG. 5 is a flow chart illustrating the interactive playback of a movie sequence utilizing hit test tracks in accordance with the preferred embodiment of the present invention; and

FIG. 6 is a flow chart illustrating the creation of hit test tracks for multi-track movies in accordance with the preferred embodiment of the present invention.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENT

The personal computer is becoming a more effective tool for presenting multimedia works everyday. Many of the techniques for presenting and using multimedia information in such computers are carried out in software, although hardware products could also be developed, albeit at much greater costs, for carrying out the same functions. With respect to the preferred embodiment of the present invention, hardware could also be developed which would implement the present invention, but software techniques operating in conjunction with the computer system 10 of FIG. 1 are preferably utilized herein to most effectively implement the present invention.

The computer 10, such as an Apple Macintosh computer manufactured by Apple Computer, Inc., Cupertino, Calif., is comprised of a central processing unit 12, an input/output 14, a memory 16, a pointing device 18 and a display 20. Preferably, CPU 12 is powerful enough to carryout data compression/decompression in software at reasonable speeds, such as is possible with a Motorola 68020 microprocessor running at a clock rate of at least 16 MHz, but other much lower performance processors running at lower clock speeds could also be used with acceptable performance if additional data compression/decompression hardware were included as part of the computer system 10. Input/output 14 connects CPU 12 to auxiliary devices, such as speakers, and auxiliary sources of data and memory, such as a hard disk storage device, a CD-ROM, or a high bandwidth network. Even with highly efficient compression techniques, substantial auxiliary storages would still be required for the audio, video and hit test tracks of the present invention. Memory 16 would typically include some type of mass storage as well as some random access memory, although other types of fast access memory could also be utilized. Pointing device 18 could be any of a number of such devices, such as a mouse, trackball, or stylus. Display 20 would preferably be any display having sufficient resolution to clearly display the video information.

Video data used in multimedia works is typically formed from a series of single frames of visual information sequentially strung together for playback by computer 10. This video data is typically stored in an auxiliary storage device as a video track along with other forms of temporal data associated with it, such as an audio track. FIG. 2 a illustrates a single frame 30 of a video track, comprised of a number of distinct objects 32, as visible to a viewer on the display 20. The video track can either be precalculated as synthetic or computer generated imagery, or alternatively, as a video sequence that has been digitized from analog video data. This video image sequence can either be in a compressed or uncompressed format. As utilized herein, “video frame” means any analog image frame or any digitized frame captured with a scanner or camera or created using a paint program or renderer.

FIG. 2 b illustrates a single frame 34 of an image called an “item buffer” which is stored as a compressed frame in a hit test track corresponding to the video frame 30 of FIG. 2 a. The frames 34 corresponding to the hit test track, unlike frame 30 of the video track, would not be visible to a user on the display 20. Rather, the hit test track, as will be further explained below, is an auxiliary track of data which corresponds to the video track and which identifies (maps) the location of objects, or user defined areas, within the video track on a per pixel per frame basis. Although FIG. 2 b illustrates each of the numbered objects 36 in frame 34 corresponding to an identically shaped object 32 in the frame 30, objects 36 in the hit test track could be created which correspond to any abstract user selected area in the frame 30, whether visible or not. For example, if frame 30 illustrated a room with some paintings, an open doorway, and a statue, it may be desirable to associate an object 36 from the hit test track with each of the paintings, the statute, and the abstract open area of the doorway. Regardless of the objects or areas selected by the user, the auxiliary hit test track of the present invention is most useful for what is commonly called “object picking”, where the user of the computer 10 can select an object on the display 20 using pointing device 18 in any frame of a moving image sequence, thereby causing the system to initiate an action based on the selected object. The initiated action can be any of a large number of different actions, such as the playback of a separate multimedia work or the performance of a subroutine program. As will be further illustrated below, since the hit test data corresponds to visual objects on a per pixel, per frame basis, object selection is highly accurate.

The present invention is ideally suited for use in a computer 10 capable of operating multimedia type computer programs, such as a software program that is designed to manipulate various forms of media represented as a series of related temporal tracks of data (such as video, sound, etc.), each of those tracks being operative to be offset by some fixed time from the other tracks. A set of such tracks being herein referred to as a multi-track movie. A representation of a small multi-track movie is illustrated in FIG. 3 a, which is comprised of a first set of video and sound tracks 40 and a second set of video and sound tracks 42. In each case, the temporal video track duration is the same as the temporal sound duration. The second set of video and sound tracks has a shorter duration than the first set and begins with a fixed time offset after the start of the first set. In FIG. 3 b, the same set of multi-track movie data is represented, except that there is also a hit test track 44 stored in the movie. In this case, the hit test track corresponds to the first set of video and sound tracks, has the same duration as the first set, contains the same number of frames as the video track of the first set, and identifies the location of objects in the image sequences comprising the video track of the first set.

It should be noted that the video track and the corresponding hit test track will be in the most general case, a sequence of moving images. However, it is also possible to use the techniques of the present invention on just a single image, in which case each track comprises only a single frame. It should also be noted that the hit test track need not be compressed using the same compression techniques as the video track and need not be stored at precisely the same resolution as the video track. The hit test track is preferably compressed using a lossless data or image compression technique which need not conform to that of the video track. In addition, if the video track happens to be highly compressed, it may make sense to use a subsampled, or coarser grid, version of the hit test track (such as subsampling on the order of 2:1 or 4:1). In such an event, on playback, the nearest available object identification value in the coarse grid version of the hit test track is used as the object identifier. Although this alternative embodiment will not have the pixel accurate advantage of the full resolution hit test track, it still permits the user to select most objects in the scene at an acceptable level of precision.

With respect to the preferred embodiment of the present invention. any track of the multi-track movie has the option of having an associated set of auxiliary, hit test track, information. This auxiliary information is typically stored along with the corresponding track of the multi-track movie as a set of tag, size and data fields that are used to facilitate manipulation of the temporal data contained in that hit test track. Since these fields are user or application defined, they are referred to herein as “user data”. This user data is static, meaning it doesn't change over time. The organization and content of the user data for a hit test track, shown generally as 50, is illustrated in FIG. 4 a. The hit test tag 52 is an identifier that designates the track as a hit test track. In the presently preferred embodiment of the present invention, the four character tag field is represented by the characters “HIT_”, wherein “_” represents a space. The hit test track is marked with this tag field to distinguish the hit test track from video data. Hence, when computer 10 is interpreting the track data, it will know to only use the hit test track to identify objects which lie in the video scene. The next field in the hit test track 50 is the size of the data field 54, which indicates the number of bytes of information in the data field.

The remaining portions of information contained in hit test track 50 are within the data field, which is preferably comprised of video track identifier 56, compression format 58, pixel bit depth 60 and hit test data 62. The video track identifier 56 describes the video track in a multi-track movie to which the hit test track 50 corresponds. Utilization of a video track identifier 56 allows the computer 10 to know which video track is used in conjunction with the hit test track. Such information can be important where there are a number of hit test tracks which refer to the same video track. Compression format 58 indicates the format utilized to compress the hit test data 62.

As previously stated, although a number of different compression formats can be utilized for both the video track and the hit test data 62, the preferred embodiment for the hit test data 62 is lossless data encoding. There are a number of applicable methods of lossless encoding that may be employed, including run-length encoding, quad-tree coding, or Huffman coding, all of which are well known in the art. By indicating the compression format, the computer 10 may readily determine how to decompress the hit test data. Pixel bit depth 60 indicates the pixel bit depth to which the compressed data is to be decompressed. This feature allows for correct interpretation of the word length of the hit test data 62. It should be noted that compact descriptions of the objects in the hit test track 50, other than compression techniques, can be utilized. For example, it may be desirable to store a geometric description of the objects in the hit test track 50. This list of geometric primitives for hit test regions would likewise correspond to each frame in the original video track.

It should also be noted that hit test track 50 need not include all of the above-described portions in order to be fully operable. Rather than include an indication of the compression format 58 or the pixel bit depth 60, there could be a default compression format utilized by computer 10 which automatically provided that information. For example, the present invention could take advantage of the compression formats offered by a software program which manipulates (including compression and decompression) multi-track movies, whereby computer 10 would automatically know to handle various types of data in accordance with various types of compression formats.

In addition to the portions of information described above contained within the data field of hit test track 50, there are other portions of information which could be included therein. Two such portions are described below with reference now to FIG. 4 b. Object to string name mapping table 64 could be utilized to associate ascii string names with particular objects in the corresponding video or sound track. For example, it may be desirable to store the name “cube” in the hit test track corresponding to every pixel of a video image containing a cube. A likely table construct would contain a list of a series of numbers and associated name strings, such as ((1,cube), (2,painting), (3,chair), (4,blob), etc.). These names can then be passed on to a scripting environment for further interpretation or usage. Object to event mapping table 66 could likewise be utilized to associate events with particular objects. For example, it may be desirable to initiate the event “play movie scene 3” whenever a user uses the cursor on the display 20 under the control of the pointing device 18 to select a pixel containing a particular object. A likely table construct would contain a list of a series of numbers and associated event strings, such as ((1, “play movie X”), (2,“play sound Y”), (3,“go to screen 10”), (4,“play movie Z”), etc.). These events could also then be, passed on to an interpretive scripting environment.

Although discussed in greater detail with reference to FIGS. 5 and 6, the operation of a computer 10 running a program which utilizes hit test tracks as part of a multi-track movie will now be briefly described. To determine when to access data in the hit test track, the program of computer 10 determines when a user has made a selection at a particular position on the screen of display 20 where the aforementioned cursor is displayed. The programs then determines which frame of the video sequence is currently being displayed. At that point, the program interrogates each track of the multi-track movie to determine which track has the identifiers indicating it is a hit test track for the particular video track being displayed. Once the proper hit test track has been determined, the frame in the hit test track corresponding to the video frame currently being displayed is accessed and decompressed according to the particular compression format in which it is stored.

During decompression, only the region at or surrounding the pixel of interest is decompressed. When the exact pixel for object selection is identified, its decompressed value is returned to the program as the object's identifier. The object identifier can then be used to map into a name table or event table if so desired. If the object identifier maps into a name table, an ascii string name is returned to the program. If the object identifier maps into an event table, the “event” is returned to the system, which can trigger the occurrence of various events, such as the playing of a sound, the display of a sequence of video frames or a picture image on the screen of display 20. The event to be triggered and handled by the program, as mentioned above, is data contained in the event table. The meaning of those events will depend on what type of interactive environment is used on the program of interest. In the preferred embodiment of the present invention, events are to be interpreted by a high level scripting language.

With reference now to FIG. 5, a flow chart illustrating the interactive playback of a movie sequence utilizing hit test tracks in accordance with the preferred embodiment of the present invention will now be described. As the frames of a moving image sequence from a video track is played back by computer 10, block 70, the program tests to see if a mouse down event has occurred in the video frame, block 72. If a mouse down event has occurred in a video frame, versus some other portion of visible space on the screen of display 20, the video frame X is recorded in memory 16, as is the mouse position (mx,my) at the time of the mouse down event, block 74. If no mouse down event has occurred, the program returns to block 70 to continue playing the movie sequence. After storing the video frame X and the mouse down position (mx,my), the program proceeds to search the user data fields of all of the tracks of the multi-track movie for any track that has the hit test track identifier or tag “HIT_”, block 76.

When a track identified as hit test track has been found, block 78, the program reviews the user data of the hit test track to verify that the identified hit test track refers to the current video track being displayed, block 80. If the hit test track refers to the current video track, the program then determines the compression format Z, unless there is a default compression format and the bit depth at which to decompress the data, block 82. The next step in the process is to decompress the appropriate frame X (corresponding to the video frame X in the sequence) of the hit test track using the decompression method Z. Although the decompression that occurs can be of the full video frame X, it is preferable to just decompress the region surrounding the exact pixel location (mx,my) selected by the user in the video frame X, block 84. Note that the object identifier value for the selected object would be the same regardless of the pixel location within the object selected by the user. Thus, while decompressing the entire object would certainly produce the appropriate object identifier, decompressing just the pixel location selected would achieve the same result. The object identifier value of the decompressed data at pixel location (mx,my) is then returned to the system, block 86. As previously described above, more complex optional versions of the above process can decompress the hit test data and use the object identifier to map into a table, which returns either an ascii name or an event to be triggered by the program.

With reference now to FIG. 6, a flow chart illustrating the creation of hit test tracks for multi-track movies in accordance with the preferred embodiment of the present invention will be described. In block 90, a newly digitized video frame or a rendered animation frame from a sequence of moving images is input. The program then looks to see if the input frame is from rendered animation or digitized video, block 92. If the input frame is from rendered animation, an item buffer is generated for the frame when rendering the images from the sequence, block 94. As previously discussed, this item buffer, which is later incorporated into the hit test track, is used as a map of all of the objects in the scene by labeling each pixel which is contained within the area defining that object with an item number or object identifier. Note that pixels within the same object or area of interest would contain the same object identifier.

If the input frame is from digitized video, the objects in the video scene depicted in the video frame are segmented, using pattern recognition techniques or through manual object tracking, to generate an item buffer for that scene, block 96. Although pattern recognition techniques are less labor intensive than manual object tracking, the effectiveness of pattern recognition, and therefore object identification, can vary significantly depending on the subject matter being recognized. In addition, manual object tracking has the added advantage of allowing the user to specify “invisible” areas of interest in addition to visible objects of interest. Regardless of the type of input data, once an item buffer is created, each item buffer is then compressed using lossless compression, block 98. The program then looks, block 100, to see if the video track corresponding to that item buffer is compressed at a ratio greater than a predetermined threshold, such as 10:1. As previously discussed, if the video track happens to be highly compressed, it may make sense to use a subsampled, or coarser grid, version of the item buffer, such as subsampling on the order of 2:1 or 4:1. Hence, in block 102, a subsampled lower resolution version of the compressed item buffer is used in place of a normal resolution item buffer, as is utilized in block 104. Again, it should be noted that when a subsampled lower resolution item buffer is utilized, on playback, the nearest available object identification value in the coarse grid version of the hit test track is used as the object identifier.

Regardless of the type of item buffer used, in block 106, the images in each item buffer are then stored as a compressed frame in the hit test data portion of a hit test track. The video frame corresponding to that hit test track is then stored in the video track, block 108. This process continues for each frame of the sequence of images until all frames of the sequence have been processed, block 110, at which point, the remainder of the user data, such as the hit test tag 52, the size of the data field 54, the video track identifier 56, the lossless compression format 58, and the pixel bit depth 60, are stored in the hit test track 50, block 112.

It should be noted that the present invention has many applications related to video display and manipulation technologies, such as the multimedia applications described above, but also in other areas, such as video games, where pixel accurate, frame accurate object selection would be desirable. Hence, although the present invention has been described with reference to FIGS. 1 through 6 and with emphasis on a particular embodiment, it should be understood that the figures are for illustration only and should not be taken as limitations upon the invention. It is contemplated that many changes and modifications may be made by one of ordinary skill in the art to the elements, process and arrangement of steps of the process of the invention without departing from the spirit and scope of the invention as disclosed above. 

1. A method of making a movie comprising: grouping pixels in each frame in a primary video track into at least one group; storing information on each group including storing the information in an item buffer which defines an auxiliary track associated with the primary video track and storing certain user defined data along with the information on the groups in the item buffer, the user defined data including a size of a data field associated with the user defined data; and associating at least one identifier with each group such that when any pixel in the group is selected by a user, the identifier associated with the group is displayed or presented.
 2. The method of claim 1 in which each group represents an object in a scene.
 3. The method of claim 2 in which storing information on each group comprises storing the pixels themselves which define the object of the group.
 4. The method of claim 2 in which storing information on each group comprises storing compact descriptions of the group.
 5. The method of claim 4 in which the compact descriptions comprise geometric descriptions.
 6. The method of claim 1 in which the information in the item buffer is stored in compressed form using a lossless compression technique.
 7. The method of claim 1 in which the user defined data comprises a tag identifying the auxiliary track as containing information on the groups associated with the primary video track.
 8. The method of claim 1 in which the user defined data comprises a video track identifier identifying the primary video track with which the auxiliary track is associated.
 9. The method of claim 1 in which the identifier comprises a name identifying the group.
 10. The method of claim 1 in which the identifier describes an event, the method then comprising associating the event described with instructions to perform said event if the identifier is selected by the user.
 11. The method of claim 1 in which grouping the pixels comprises identifying objects in each frame; assigning a unique identifier to each object; and labeling the pixels for each object with said unique identifier.
 12. The method of claim 11 which comprises first determining whether the primary video track comprises digitized video or rendered animation.
 13. The method of claim 11 in which identifying the objects in each frame is performed using pattern recognition techniques, if the primary video track comprises digitized video.
 14. The method of claim 13 in which identifying the objects in each frame comprises loading each frame into the item buffer when rendering the images, if the primary video includes rendered animation.
 15. The method of claim 11 in which identifying the objects in each frame is performed by manual object tracking, if the primary video track comprises digitized video.
 16. A method of making a movie comprising: grouping pixels in each frame in a primary video track into at least one group; storing information on each group including storing the information in an item buffer which defines an auxiliary track associated with the primary video track and storing certain user defined data along with the information on the groups in the item buffer, wherein the user defined data comprises a lossless compression format used to compress the data in the item buffer; and associating at least one identifier with each group such that when any pixel in the group is selected by a user, the identifier associated with the group is displayed or presented.
 17. A machine-readable medium having stored thereon a series of instructions, which when executed by a processing system, cause the processing system to: group pixels in each frame of a primary video track into at least one group; store information on each group in an item buffer which defines an auxiliary track associated with the primary video track and store certain user defined data alone with the information on the groups in the item buffer, wherein the user defined data comprises a size of a data field associated with the user defined data; and associate at least one identifier with each group such that when any pixel in the group is selected by a user, the identifier associated with the group is displayed or presented.
 18. The machine-readable medium of claim 17 in which each group represents an object in a scene.
 19. The machine-readable medium of claim 17 in which the information stored on each group comprises the pixels themselves which define the object of the group.
 20. The machine-readable medium of claim 17 in which the information stored on each group comprises compact descriptions of the group.
 21. The machine-readable medium of claim 20 in which the compact descriptions comprise geometric descriptions.
 22. The machine-readable medium of claim 17 in which the information in the item buffer is stored in compressed form using a lossless compression technique.
 23. The machine-readable medium of claim 17 in which the user defined data comprises a tag identifying the auxiliary track as containing information on the groups associated with the primary video track.
 24. The machine-readable medium of claim 17 in which the user defined data comprises a video track identifier identifying the primary video track with which the auxiliary track is associated.
 25. The machine-readable medium of claim 17 in which the identifier comprises a name identifying the group.
 26. The machine-readable medium of claim 17 in which the identifier describes an event, the instructions then causing the processor to associate the event described with instructions to perform said event if the identifier is selected by the user.
 27. The machine-readable medium of claim 17 in which the pixels are grouped by identifying objects in each frame; assigning a unique identifier to each object; and labeling the pixels for each object with said unique identifier.
 28. The machine-readable medium of claim 27 in which the instructions cause the processor to determine whether the primary video track includes digitized video or rendered animation.
 29. The machine-readable medium of claim 27 in which identifying the objects in each frame is performed using pattern recognition techniques, if the primary video track includes digitized video.
 30. The machine-readable medium of claim 29 in which identifying the objects in each frame comprises loading each frame into the item buffer when rendering the images, if the primary video comprises rendered animation.
 31. The machine-readable medium of claim 27 in which identifying the objects in each frame is performed by manual object tracking, if the primary video track comprises digitized video.
 32. A machine-readable medium having stored thereon a series of instructions, which when executed by a processing system, cause the processing system to: group pixels in each frame of a primary video track into at least one group; store information on each group in an item buffer which defines an auxiliary track associated with the primary video track and store certain user defined data along with the information on the groups in the item buffer, wherein the user defined data comprises a lossless compression format used to compress the data in the item buffer; and associate at least one identifier with each group such that when any pixel in the group is selected by a user, the identifier associated with the group is displayed or presented.
 33. An apparatus comprising: a grouping mechanism to group pixels in each frame of a primary video track into at least one group; a storage device to store information on each group in an item buffer which defines an auxiliary track associated with the primary video track and to store certain user defined data along with the information on the groups in the item buffer, wherein the user defined data comprises a size of a data field associated with the user defined data; and an associating mechanism to associate at least one identifier with each group such that when any pixel in the group is selected by a user, the identifier associated with the group is displayed or presented.
 34. The apparatus of claim 33 in which each group represents an object in a scene.
 35. The apparatus of claim 33 in which the information stored on each group comprises the pixels themselves which define the object of the group.
 36. The apparatus of claim 33 in which the information stored on each group comprises compact descriptions of the group.
 37. The apparatus of claim 36 in which the compact descriptions comprise geometric descriptions.
 38. The apparatus of claim 33 in which the information in the item buffer is stored in compressed form using a lossless compression technique.
 39. The apparatus of claim 33 in which the user defined data includes a tag identifying the auxiliary track as containing information on the groups associated with the primary video track.
 40. The apparatus of claim 33 in which the user defined data comprises a video track identifier identifying the primary video track with which the auxiliary track is associated.
 41. The apparatus of claim 33 in which the identifier comprises a name identifying the group.
 42. The apparatus of claim 33 in which the identifier describes an event, the associating mechanism then associating the event described with instructions to perform said event if the identifier is selected by the user.
 43. The apparatus of claim 33 in which the grouping mechanism groups the pixels by identifying objects in each frame; assigning a unique identifier to each object; and labeling the pixels for each object with said unique identifier.
 44. The apparatus of claim 43 which includes a determining mechanism to determine whether the primary video track includes digitized video or rendered animation.
 45. The apparatus of claim 43 in which identifying the objects in each frame is performed using pattern recognition techniques, if the primary video track comprises digitized video.
 46. The apparatus of claim 45, in which identifying the objects in each frame comprises loading each frame into the item buffer when rendering the images, if the primary video comprises rendered animation.
 47. The apparatus of claim 43 in which identifying the objects in each frame is performed by manual object tracking, if the primary video track comprises digitized video.
 48. An apparatus comprising: a grouping mechanism to group pixels in each frame of a primary video track into at least one group; a storage device to store information on each group in an item buffer which defines an auxiliary track associated with the primary video track and to store certain user defined data along with the information on the groups in the item buffer, wherein the user defined data comprises a lossless compression format used to compress the data in the item buffer; and an associating mechanism to associate at least one identifier with each group such that when any pixel in the group is selected by a user, the identifier associated with the group is displayed or presented.
 49. An apparatus for making a movie comprising: means for grouping pixels in each frame of a primary video track into at least one group; means for storing information on each group in an item buffer which defines an auxiliary track associated with the primary video track; means for storing certain user defined data along with the information on the groups in the item buffer, wherein the user defined data comprises a size of a data field associated with the user defined data; and means for associating at least one identifier with each group such that when any pixel in the group is selected by a user, the identifier associated with the group is displayed or presented.
 50. The apparatus of claim 49 in which each group represents an object in a scene.
 51. The apparatus of claim 50 in which the information stored on each group comprises the pixels themselves which define the object of the group.
 52. The apparatus of claim 50 in which the means for storing information on each group stores compact descriptions of the group.
 53. The apparatus of claim 52 in which the compact descriptions comprise geometric descriptions.
 54. The apparatus of claim 49 in which the information in the item buffer is stored in compressed form using a lossless compression technique.
 55. The apparatus of claim 49 in which the user defined data comprises a tag identifying the auxiliary track as containing information on the groups associated with the primary video track.
 56. The apparatus of claim 49 in which the user defined data comprises a video track identifier identifying the primary video track with which the auxiliary track is associated.
 57. The apparatus of claim 49 in which the identifier comprises a name identifying the group.
 58. The apparatus of claim 49 in which the identifier describes an event, the apparatus further comprising means for associating the event described with instructions to perform said event if the identifier is selected by the user.
 59. The apparatus of claim 49 in which the means for grouping the pixels groups said pixels by identifying objects in each frame; assigning a unique identifier to each object; and labeling the pixels for each object with said unique identifier.
 60. The apparatus of claim 59 in which the means for grouping the pixels first determines whether the primary video track comprises digitized video or rendered animation.
 61. The apparatus of claim 59 in which identifying the objects in each frame is performed using pattern recognition techniques, if the primary video track comprises digitized video.
 62. The apparatus of claim 61 in which identifying the objects in each frame comprises loading each frame into the item buffer when rendering the images, if the primary video includes rendered animation.
 63. The apparatus of claim 59 in which identifying the objects in each frame is performed by manual object tracking, if the primary video track comprises digitized video.
 64. An apparatus for making a movie comprising: means for grouping pixels in each frame of a primary video track into at least one group; means for storing information on each group in an item buffer which defines an auxiliary track associated with the primary video track; means for storing certain user defined data along with the information on the groups in the item buffer, wherein the user defined data comprises a lossless compression format used to compress the data in the item buffer: and means for associating at least one identifier with each group such that when any pixel in the group is selected by a user, the identifier associated with the group is displayed or presented.
 65. A method of identifying a user-selected location in an image, comprising: receiving an indication of a user selection of a location within an image of a movie; accessing an auxiliary track of data of the movie, the auxiliary track comprising region identification data to identify at least one region within the image based on the location of the user selection, wherein the auxiliary track is compressed; and decompressing at least a portion of the compressed auxiliary track.
 66. The method of claim 65, wherein: the image is one in a sequence of images; the auxiliary track corresponds to the sequence of images; and the region identification data identifies at least one region based on both the image within which the user selection is made and the location of the user selection.
 67. The method of claim 65, wherein the region identification data comprises hit test data.
 68. The method of claim 65, wherein the region identification data identifies an action corresponding to the region.
 69. The method of claim 65, wherein the auxiliary track further comprises a tag to identify the auxiliary track as the auxiliary track.
 70. The method of claim 65, wherein the auxiliary track further comprises a track identifier to identify a track of video images to which the auxiliary track corresponds.
 71. The method of claim 65, wherein the auxiliary track further comprises an object-to-string name mapping table to associate names with objects in a track of video images corresponding to the auxiliary track.
 72. The method of claim 65, wherein the auxiliary track further comprises an object-to-event mapping table to associate events with objects in a track of video images corresponding to the auxiliary track.
 73. The method of claim 65, wherein accessing the auxiliary track comprises accessing a subsampled version of the auxiliary track.
 74. The method of claim 65, wherein accessing the auxiliary track comprises accessing one of a plurality of auxiliary tracks corresponding to the image.
 75. The method of claim 65, wherein accessing the auxiliary track comprises: reading a stored track identifier indicating one of a plurality of auxiliary tracks corresponding to the image; and accessing the indicated auxiliary track.
 76. The method of claim 65, wherein the region identification data comprises at least one compact description of a region.
 77. The method of claim 76, wherein the at least one compact description comprises at least one geometric primitive.
 78. A method of identifying a user-selected location in an image, comprising: receiving an indication of a user selection of a location within an image of a movie; accessing an auxiliary track of data of the movie, the auxiliary track comprising region identification data to identify at least one region within the image based on the location of the user selection, wherein the auxiliary track further comprises at least one selected from the group consisting of: a data field size indicator identifying a number of bytes of information in the region identification data; a compression format indicator identifying a compression format used to compress the region identification data; and a pixel bit depth indicator identifying a pixel bit depth to which the region identification data is to be decompressed.
 79. A method for labeling at least one area within an image represented by at least a portion of a track of image data of a movie, the method comprising: receiving the image of the movie, wherein the image depicts objects; generating an item buffer for the received image, the item buffer comprising a description of at least one object in the image; compressing the item buffer: and storing the generated item buffer as part of the movie.
 80. The method of claim 79, wherein generating an item buffer comprises segmenting the depicted objects.
 81. The method of claim 79, wherein storing the generated item buffer comprises storing item buffer images as a compressed frame in a hit test track.
 82. The method of claim 79, further comprising storing additional user data.
 83. A method for labeling at least one area within an image represented by at least a portion of a track of image data of a movie, the method comprising: receiving the image of the movie, wherein the image depicts objects; generating an item buffer for the received image, the item buffer comprising a description of at least one object in the image; determining if the image is compressed beyond a predetermined threshold; responsive to the image being compressed beyond the threshold, generating a subsampled version of the item buffer; and storing the generated item buffer as part of the movie.
 84. A computer program product for identifying a user-selected location in an image, the computer program product comprising: a computer readable medium; and computer program instructions, encoded on the medium, for controlling a processor to perform a method comprising: receiving an indication of a user selection of a location within an image of a movie; accessing an auxiliary track of data of the movie, the auxiliary track comprising region identification data to identify at least one region within the image based on the location of the user selection, wherein the auxiliary track is compressed; and decompressing at least a portion of the compressed auxiliary track.
 85. The computer program product of claim 84, wherein: the image is one in a sequence of images; the auxiliary track corresponds to the sequence of images; and the region identification data identifies at least one region based on both the image within which the user selection is made and the location of the user selection.
 86. The computer program product of claim 84, wherein the region identification data comprises hit test data.
 87. The computer program product of claim 84, wherein the region identification data identifies an action corresponding to the region.
 88. The computer program product of claim 84, wherein the auxiliary track further comprises a tag to identify the auxiliary track as the auxiliary track.
 89. The computer program product of claim 84, wherein the auxiliary track further comprises a track identifier to identify a track of video images to which the auxiliary track corresponds.
 90. The computer program product of claim 84, wherein the auxiliary track further comprises an object-to-string name mapping table to associate names with objects in a track of video images corresponding to the auxiliary track.
 91. The computer program product of claim 84, wherein the auxiliary track further comprises an object-to-event mapping table to associate events with objects in a track of video images corresponding to the auxiliary track.
 92. The computer program product of claim 84, wherein said accessing the auxiliary track comprises accessing a subsampled version of the auxiliary track.
 93. The computer program product of claim 84, wherein said accessing the auxiliary track comprises accessing one of a plurality of auxiliary tracks corresponding to the image.
 94. The computer program product of claim 84, wherein said accessing the auxiliary track comprises: reading a stored track identifier indicating one of a plurality of auxiliary tracks corresponding to the image; and accessing the indicated auxiliary track.
 95. The computer program product of claim 84, wherein the region identification data comprises at least one compact description of a region.
 96. The computer program product of claim 95, wherein the at least one compact description comprises at least one geometric primitive.
 97. A computer program product for identifying a user-selected location in an image, the computer program product comprising: a computer readable medium; and computer program instructions, encoded on the medium, for controlling a processor to perform a method comprising: receiving an indication of a user selection of a location within an image of a movie; and accessing an auxiliary track of data of the movie, the auxiliary track comprising region identification data to identify at least one region within the image based on the location of the user selection, wherein the auxiliary track further comprises at least one selected from the group consisting of: a data field size indicator identifying a number of bytes of information in the region identification data; a compression format indicator identifying a compression format used to compress the region identification data; and a pixel bit depth indicator identifying a pixel bit depth to which the region identification data is to be decompressed.
 98. A computer program product for labeling at least one area within an image represented by at least a portion of a track of image data of a movie, the computer program product comprising: a computer readable medium; and computer program instructions, encoded on the medium, for controlling a processor to perform a method comprising, for each area: receiving the image of the movie, wherein the image depicts objects; generating an item buffer for the received image, the item buffer comprising a description of at least one object in the image; compressing the item buffer; and storing the generated item buffer as part of the movie.
 99. The computer program product of claim 98, wherein said generating an item buffer comprises: segmenting the depicted objects.
 100. The computer program product of claim 98, wherein said storing the generated item buffer comprises storing item buffer images as a compressed frame in a hit test track.
 101. The computer program product of claim 98, wherein the method further comprises storing additional user data.
 102. A computer program product for labeling at least one area within an image represented by at least a portion of a track of image data of a movie, the computer program product comprising: a computer readable medium; and computer program instructions, encoded on the medium, for controlling a processor to perform a method comprising, for each area: receiving the image of the movie, wherein the image depicts objects; generating an item buffer for the received image, the item buffer comprising a description of at least one object in the image; determining if the image is compressed beyond a predetermined threshold; responsive to the image being compressed beyond the threshold, generating a subsampled version of the item buffer; and storing the generated item buffer as part of the movie.
 103. A system for identifying a user-selected location in an image, comprising: a controller, for receiving an indication of a user selection of a location within an image of a movie; a storage device, coupled to the controller, for storing an auxiliary track of data of the movie, the auxiliary track comprising region identification data to identify at least one region within the image based on the location of the user selection, wherein the auxiliary track is compressed; and a decompression module, coupled to the storage device, for decompressing at least a portion of the compressed auxiliary track.
 104. The system of claim 103, wherein: the image is one in a sequence of images; the auxiliary track corresponds to the sequence of images; and the region identification data identifies at least one region based on both the image within which the user selection is made and the location of the user selection.
 105. The system of claim 103, wherein the region identification data comprises hit test data.
 106. The system of claim 103, wherein the region identification data identifies an action corresponding to the region.
 107. The system of claim 103, wherein the auxiliary track further comprises a tag to identify the auxiliary track as the auxiliary track.
 108. The system of claim 103, wherein the auxiliary track further comprises a track identifier to identify a track of video images to which the auxiliary track corresponds.
 109. The system of claim 103, wherein the auxiliary track further comprises an object-to-string name mapping table to associate names with objects in a track of video images corresponding to the auxiliary track.
 110. The system of claim 103, wherein the auxiliary track further comprises an object-to-event mapping table to associate events with objects in a track of video images corresponding to the auxiliary track.
 111. The system of claim 103, wherein the storage device stores a subsampled version of the auxiliary track.
 112. The system of claim 103, wherein the storage device stores a plurality of auxiliary tracks corresponding to the image.
 113. The system of claim 103, wherein the storage device stores a stored track identifier indicating one of a plurality of auxiliary tracks corresponding to the image.
 114. The system of claim 103, wherein the region identification data comprises at least one compact description of a region.
 115. The system of claim 114, wherein the at least one compact description comprises at least one geometric primitive.
 116. A system for identifying a user-selected location in an image, comprising: a controller, for receiving an indication of a user selection of a location within an image of a movie; a storage device, coupled to the controller, for storing an auxiliary track of data of the movie, the auxiliary track comprising region identification data to identify at least one region within the image based on the location of the user selection, wherein the auxiliary track further comprises at least one selected from the group consisting of: a data field size indicator identifying a number of bytes of information in the region identification data; a compression format indicator identifying a compression format used to compress the region identification data; and a pixel bit depth indicator identifying a pixel bit depth to which the region identification data is to be decompressed.
 117. A system for labeling at least one area within an image represented by at least a portion of a track of image data of a movie, the system comprising: an image storage device, for storing an image of the movie depicting objects; an item buffer generator, coupled to the image storage device, for generating an item buffer comprising a description of at least one object in the image; a buffer storage device, coupled to the item buffer generator, for storing the generated item buffer as part of the movie; and a compressor coupled to the item buffer generator for compressing the generated item buffer.
 118. The system of claim 117, wherein the item buffer generator segments the depicted objects.
 119. The system of claim 117, wherein the buffer storage device stores item buffer images as a compressed frame in a hit test track.
 120. The system of claim 117, wherein the buffer storage device stores additional user data.
 121. A system for labeling at least one area within an image represented by at least a portion of a track of image data of a movie, the system comprising: an image storage device, for storing an image of the movie depicting objects; an item buffer generator, coupled to the image storage device, for generating an item buffer comprising a description of at least one object in the image: a buffer storage device, coupled to the item buffer generator, for storing the generated item buffer as part of the movie; and a subsampling module, coupled to the item buffer generator, for determining if the image is compressed beyond a predetermined threshold, and for, responsive to the image being compressed beyond the threshold, generating a subsampled version of the item buffer. 